
using System;
using System.Collections;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Windows.Forms;
 // ERROR: Not supported in C#: OptionDeclaration
namespace NCS_CS
{
	internal partial class frmInputPWD : System.Windows.Forms.Form
	{

		public bool LoginSucceeded;

		private void cmdCancel_Click(System.Object eventSender, System.EventArgs eventArgs)
		{
			//set the global var to false
			//to denote a failed login
			LoginSucceeded = false;
			this.Hide();
		}

		private void cmdOK_Click(System.Object eventSender, System.EventArgs eventArgs)
		{
			LoginSucceeded = true;
			this.Hide();
		}
	}
}
